	<link type="text/css" href="<?php echo base_url("css"); ?>/custom-theme/jquery-ui-1.8.16.custom.css" rel="stylesheet" />

	<script type="text/javascript" src="<?php echo base_url("js"); ?>/jquery-1.6.2.min.js"></script>
	<script type="text/javascript" src="<?php echo base_url("js"); ?>/jquery-ui-1.8.16.custom.min.js"></script>

	<!-- this scripts need for tree structure in right side -->
	<script type="text/javascript" src="<?php echo base_url("js"); ?>/jquery.jstree.js"></script>
	<script type="text/javascript" src="<?php echo base_url("js"); ?>/jquery.cookie.js"></script>
	<script type="text/javascript" src="<?php echo base_url("js"); ?>/jquery.hotkeys.js"></script>

<link type="text/css" href="<?php echo base_url("css"); ?>/foria/admin.css" rel="stylesheet" />


<script>
$(function(){

	/* building buttons and attach click events */
	$( "#btnNewsNew" ).button({
		icons: {
			primary: "ui-icon-circle-plus"
		},
		text: true
    });
	$( "#btnNewsFirst" ).button({
		icons: {
			primary: "ui-icon-seek-first"
		},
		text: false
    });
	$( "#btnNewsPrev" ).button({
		icons: {
			primary: "ui-icon-seek-prev"
		},
		text: false
    });
	$( "#btnNewsNext" ).button({
		icons: {
			primary: "ui-icon-seek-next"
		},
		text: false
    });
	$( "#btnNewsLast" ).button({
		icons: {
			primary: "ui-icon-seek-end"
		},
		text: false
    });
	$( "#btnNewsSelChannel" ).button({
		icons: {
			primary: "ui-icon-play"
		},
		text: true,
    });
    $( "#btnNewsNewChannel" ).button({
		icons: {
			primary: "ui-icon-circle-plus"
		},
		text: true,
    });
	$( "#btnNewsRefresh" ).button({
		icons: {
			primary: "ui-icon-play"
		},
		text: false,
    });
});

</script>

<style>
.left
{
	float:left;
}
br
{
	clear:both;
}
.first
{
	width:15%
}
.middle
{
	width:25%
}
.end
{
	width:60%
}
</style>

<form action=""<?php echo base_url("admin/tools/exec_tools/News");?>"" method="POST">
<div class="left first">
	<button name="act" value="new" id="btnNewsNew">Новая новость</button>
</div>
<div class="left middle">
	<button name="act" value="first" id="btnNewsFirst">К первым записям</button>
	<button name="act" value="prev" id="btnNewsPrev">К следующим записям</button>
	<input type="text" value="20" maxlenght="10" name="step" style="width:40px"></a>
	<button name="act" value="refresh" id="btnNewsRefresh">Обновить</button>
	<button name="act" value="next" id="btnNewsNext">Предыдущие записи</button>
	<button name="act" value="last" id="btnNewsLast">К последним записям</button>
</div>
<div class="left end">
	<select style="width:200px;"></select>
	<button name="act" value="sel_channel" id="btnNewsSelChannel">Выбрать раздел</button>
	<button name="act" value="new_channel" id="btnNewsNewChannel">Создать раздел</button>
</div>
<br />
<input type="text" name="test" maxlength="200">
<input type="submit">
</form>